ProfilePress\Core\Membership\Services\TaxService S

Total Complexity 27
Dependencies 2
Dependents 6
Total lines 146
Lines of code 77
Logical lines of code 41
Comment lines 15
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
get_country_tax_rate()
S
56 7 16
get_eu_vat_rates()
S
62 3 11
init()
S
69 2 7
get_tax_label()
S
77 2 3
is_eu_countries()
S
79 1 3
is_reverse_charged()
S
75 1 4
get_vat_number_field_label()
S
78 1 3
get_fallback_tax_rate()
S
79 1 3
__construct()
S
79 1 3
get_eu_countries()
S
80 1 3
is_tax_enabled()
S
78 1 3
eu_vat_same_country_rule_setting()
S
79 1 3
calculate_tax_based_on_setting()
S
79 1 3
is_vat_number_validation_active()
S
78 1 3
is_price_inclusive_tax()
S
78 1 3
is_eu_vat_enabled()
S
78 1 3
get_tax_rates()
S
79 1 3